import { HEAD_DATA } from './actionTypes'
import Axios from 'axios'
export const headData = () => (dispatch) => {
  Axios({
    method: 'get',
    url: '/json/head.json'
  }).then(res => {
    dispatch({
      type: HEAD_DATA,
      obj: res.data
    })
  })
}
